package MyQueueDeom;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 周斌
 * Date: 2024-03-14
 * Time: 21:58
 */
public class QueueTest {
    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        myQueue.offer(11);
        myQueue.offer(22);
        myQueue.offer(33);
        myQueue.offer(44);
        System.out.println(myQueue.poll());
        System.out.println(myQueue.peek());
    }
}
